﻿var app = angular.module('myAPP');
app.controller('ModalAlertController', function ($scope, msg, $modalInstance) {
    
    $scope.msg = msg;

    $scope.closeModal = function () {
        //$modalInstance.dismiss();
        $modalInstance.close($scope.msg.result);
    };
});